package com.huayue.entity;

import java.math.BigDecimal;

/**
 * 换房
 */
public class RoomChange {
    private int newId;
    private int oldId;
    private int oldStatus;

    private int priceFlag;
    private int type_room_id;
    private int room_type_id;
    private BigDecimal newPrice;
    private BigDecimal oldPrice;
    private BigDecimal addPrice;

    public BigDecimal getAddPrice() {
        return addPrice;
    }

    public void setAddPrice(BigDecimal addPrice) {
        this.addPrice = addPrice;
    }

    public int getOldStatus() {
        return oldStatus;
    }

    public void setOldStatus(int oldStatus) {
        this.oldStatus = oldStatus;
    }

    public int getNewId() {
        return newId;
    }

    public void setNewId(int newId) {
        this.newId = newId;
    }

    public int getOldId() {
        return oldId;
    }

    public void setOldId(int oldId) {
        this.oldId = oldId;
    }

    public int getPriceFlag() {
        return priceFlag;
    }

    public void setPriceFlag(int priceFlag) {
        this.priceFlag = priceFlag;
    }

    public int getType_room_id() {
        return type_room_id;
    }

    public void setType_room_id(int type_room_id) {
        this.type_room_id = type_room_id;
    }

    public int getRoom_type_id() {
        return room_type_id;
    }

    public void setRoom_type_id(int room_type_id) {
        this.room_type_id = room_type_id;
    }

    public BigDecimal getNewPrice() {
        return newPrice;
    }

    public void setNewPrice(BigDecimal newPrice) {
        this.newPrice = newPrice;
    }

    public BigDecimal getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(BigDecimal oldPrice) {
        this.oldPrice = oldPrice;
    }

    @Override
    public String toString() {
        return "RoomChange{" + "newId=" + newId + ", oldId=" + oldId + ", oldStatus=" + oldStatus + ", priceFlag="
            + priceFlag + ", type_room_id=" + type_room_id + ", room_type_id=" + room_type_id + ", newPrice=" + newPrice
            + ", oldPrice=" + oldPrice + '}';
    }
}
